package com.huahua.api.entity.utility.svg.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * SVG模板实体类
 *
 * @author System
 * @date 2025-07-06
 */
@Data
@Table("svg_template")
public class SvgTemplate {
    @Id
    private Integer id;

    /**
     * 模板名称
     */
    @Column("name")
    private String name;

    /**
     * 模板描述
     */
    @Column("description")
    private String description;

    /**
     * 生成提示词
     */
    @Column("prompt")
    private String prompt;

    /**
     * 默认比例如3:4
     */
    @Column("default_ratio")
    private String defaultRatio;

    /**
     * 默认宽度
     */
    @Column("default_width")
    private Integer defaultWidth;

    /**
     * 默认高度
     */
    @Column("default_height")
    private Integer defaultHeight;

    @Column("create_time")
    private LocalDateTime createTime;

    @Column("update_time")
    private LocalDateTime updateTime;

    @Column("remove_flag")
    private Integer removeFlag;
}